package com.yb.xczx.cloud.content.service;

import com.yb.core.model.XczxResult;
import com.yb.core.web.db.model.XczxPage;
import com.yb.xczx.cloud.content.entity.CourseBase;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yb.xczx.cloud.content.vo.AddCourseVo;
import com.yb.xczx.cloud.content.vo.CourseBaseInfoVo;
import com.yb.xczx.cloud.content.vo.CourseBaseVo;
import com.yb.xczx.cloud.content.vo.UpdateCourseVo;

/**
 * <p>
 * 课程基本信息 服务类
 * </p>
 *
 * @author 姚兵
 * @since 2023-05-07
 */
public interface ICourseBaseService extends IService<CourseBase> {

     XczxResult page(XczxPage<CourseBaseVo> xczxPage);

    CourseBaseInfoVo createCourseBase(Long companyId,AddCourseVo courseVo);

    CourseBaseInfoVo getCourseBaseInfo(String courseId);

    CourseBaseInfoVo updateCourseBase(Long companyId,  UpdateCourseVo courseVo);
}
